﻿#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int a[3] = { 0 }; int max = 0;

	scanf("%d %d %d", &a[0], &a[1], &a[2]);
	for (int m = 0; m < 2; m++)
	{
		for (int j = 0; j < 2 - m; j++)
		{
			if (a[j] < a[j + 1])
			{
				max = a[j];
				a[j] = a[j + 1];
				a[j + 1] = max;
			}
		}
	}

	for (int n = 0; n < 3; n++)
		printf("%d ", a[n]);

	return 0;
}